/**
 * Created by Administrator on 2017/3/30.
 */
$(function () {
    // $.getJSON("127.0.0.1:8888/home",function (data) {
    //     console.log(data);
    // });

    $.ajax({
        type:"GET",
        url:"/home",
        dataType:"json",
        success:function (data) {
            console.log(data);

        },
        error:function (data) {
            console.log("数据请求失败");
        }
    })
});